package com.turbo.cloud.bpm.web.client;

import com.turbo.cloud.core.api.Result;
import com.turbo.cloud.starter.feign.FeignClientByAuthentication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zhangluning
 */
@FeignClientByAuthentication(name = "turbo-cloud-minio", contextId = "MinioFileClient")
public interface MinioFileClient {

    @GetMapping("/webservice/minio/getFileUrl")
    Result<String> getFileUrl(@RequestParam("fileId") String fileId, @RequestParam("bucketName") String bucketName);
}

